﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Events._default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>NENA Membership Home</title>
		<meta content="JavaScript" name="vs_defaultClientScript" />
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
		<link href="Styles.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<form id="Form1" method="post" runat="server">
			<table id="Table1" width="100%">
				<tr>
					<td width="30%"></td>
					<td width="40%">
						<asp:image id="Image2" runat="server" ImageUrl="http://images.nena.ca/nena/oldNENAleaf.png"
							AlternateText="NENA Logo"></asp:image></td>
					<td width="30%"></td>
				</tr>
				<tr>
					<td colspan="3"><h1>NENA Events Portal</h1></td>
				</tr>
                <tr>
                    <td colspan="3"><h5>** Note ** Early bird pricing is in affect until March 23rd</h5></td>
                </tr>
				<tr>
					<td colspan="3">
						&nbsp;</td>
				</tr>
				<tr class="DataGridHeader">
					<td colspan="3">NENA Members Events</td>
				</tr>
				<tr>
					<td colspan="3">
        <asp:GridView ID="GridViewMember" runat="server" AutoGenerateColumns="False"             
            DataKeyNames="EventId" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" 
                            BorderWidth="1px" CellPadding="3" CellSpacing="2" Width="100%" RowStyle-HorizontalAlign="Center" >  
            <Columns>            
                <asp:BoundField DataField="Description" HeaderText="Event" 
                    SortExpression="Description" />
                <asp:BoundField DataField="Description_Long" HeaderText="Event Description" 
                    SortExpression="Description_Long" />
                <asp:BoundField DataField="ExpiredDate" HeaderText="Price Expiry Date" DataFormatString="{0:d}" 
                    SortExpression="ExpiredDate" />
                <asp:BoundField DataField="URL" HeaderText="More Details at this link" SortExpression="URL" HtmlEncode="False" 
                    DataFormatString="<a target=_blank href={0}>Event Details Here</a>" />
                <asp:BoundField DataField="Fee" HeaderText="Price" SortExpression="Fee" DataFormatString="{0:C2}" />
            </Columns>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FFF1D4" />
            <SortedAscendingHeaderStyle BackColor="#B95C30" />
            <SortedDescendingCellStyle BackColor="#F1E5CE" />
            <SortedDescendingHeaderStyle BackColor="#93451F" />
        </asp:GridView>
                        <br/>
					</td>
				</tr>
				    <tr>
					    <td colspan="1">
                            <br />
					    </td>
				    </tr>
                <tr class="DataGridHeader">
					<td colspan="3">NENA Non-Member Events</td>
				</tr>
                    <tr>
                    <td colspan="3">
                        <asp:GridView ID="GridViewNonMember" runat="server" AutoGenerateColumns="False"             
                            DataKeyNames="EventId" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" 
                                            BorderWidth="1px" CellPadding="3" CellSpacing="2" Width="100%" RowStyle-HorizontalAlign="Center" >  
                            <Columns>            
                                <asp:BoundField DataField="Description" HeaderText="Event" 
                                    SortExpression="Description"/>
                                <asp:BoundField DataField="Description_Long" HeaderText="Event Description" 
                                    SortExpression="Description_Long" />
                                <asp:BoundField DataField="ExpiredDate" HeaderText="Price Expiry Date" DataFormatString="{0:d}" 
                                    SortExpression="ExpiredDate" />
                                <asp:BoundField DataField="URL" HeaderText="More Details at this link" SortExpression="URL" HtmlEncode="False" 
                                    DataFormatString="<a target=_blank href={0}>Event Details Here</a>" />
                                <asp:BoundField DataField="Fee" HeaderText="Price" SortExpression="Fee" DataFormatString="{0:C2}" />
                            </Columns>
                            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                            <SortedAscendingCellStyle BackColor="#FFF1D4" />
                            <SortedAscendingHeaderStyle BackColor="#B95C30" />
                            <SortedDescendingCellStyle BackColor="#F1E5CE" />
                            <SortedDescendingHeaderStyle BackColor="#93451F" />
                        </asp:GridView>
                    </td>
                    </tr>
				    <tr>
					    <td colspan="1">
                            <br />
					    </td>
				    </tr>
                <tr class="DataGridHeader">
					<td colspan="3">NENA Event Registration</td>
				</tr>
                    <tr class="DataRow1">
					    <td colspan="1">NENA 2012 Conference Registration</td>
					    <td>
                            <a href="/Register/default.aspx">Click this Link to Register for the 2012 Conference</a>
					    </td>
                        <td></td>
                    </tr>
				    <tr>
				    <td colspan="3" align="center">
                        <b>
                        <br />
                        We accept PayPal</b><br />
                        <asp:Image ID="image1" runat="server" 
                            ImageUrl="http://images.nena.ca/nena/paypal/horizontal_solution_PP.gif" />
                    </td>
				</tr>
                    <asp:Panel runat="server" ID="panel_registration" Visible="false">
                <tr class="DataGridHeader">
					<td colspan="3">NENA Event Registration</td>
				</tr>
                    <tr class="DataRow1">
					    <td colspan="1">Event Registration</td>
					    <td>
                            <a href="register/">Click here for Event Registration</a>
					    </td>
                        <td></td>
                    </tr>
				    <tr>
				    <td colspan="3" align="center">
                        <b>
                        <br />
                        We accept PayPal</b><br />
                        <asp:Image ID="image3" runat="server" 
                            ImageUrl="http://images.nena.ca/nena/paypal/horizontal_solution_PP.gif" />
                    </td>
				</tr>
                </asp:Panel>
			</table>
		</form>
	</body>
</html>